Faire un don

Drupal Portable Scripts

Back to DrupalPortable

Startup

[Unprotect]
Name=Unprotect config file
Description=Unprotect config file
Type=FILE
Query=UNPROTECT
File={$root_path_absolute}\App\{$ApplicationPath}\sites\default\settings.php


[UpdateMySQLPort]
Name=Syncronize MySQL Port
Description=Update config with the Open MySQL Port
Type=REPLACE
File={$root_path_absolute}\App\{$ApplicationPath}\sites\default\settings.php
SearchPattern=root@localhost(:\d*)?
ReplaceValue=root@localhost:{$mysql_port}

[UpdateEskuelPort]
Name=Syncronize Eskuel Port
Description=Update Eskuel config with the Open MySQL Port
Type=REPLACE
File={$root_path_absolute}\ZMWS\_web.zmwsc\_vhosts.zmwsc\127.0.0.2\eskuel\config.inc.php
SearchPattern=127.0.0.1(:\d*)?
ReplaceValue=127.0.0.1:{$mysql_port}

[UpdateUploadPath]
Name=Update upload path
Description=Update upload path in DB with real values.
Type=SQL

Specific

[ResetLogPass]
Name=Reset Login and Password
Name_fr=Réinitialiser log/pass
Description=Reset Title, login and password to initial values.
Description_fr=Réinitialise le mot de passe adminstrateur avec "admin"/"framasoft"
Type=SQL
Query=REPLACE INTO `users` (`uid`,`name`,`pass`,`mail`,`mode`,`sort`,`threshold`,`theme`,`signature`,`created`,`access`,`login`,`status`,`timezone`,`language`,`picture`,`init`,`data`) VALUES ('1','admin','fd55b67e904e168a97c87fd283e870f1','demo@framasoft.net','0','0','0','','','1237216340','1237221789','1237216409','1','','','','demo@framasoft.net','a:0:{}');
Done=Done: login=admin, Password=framasoft
Done_fr=Action executée: login=admin, Password=framasoft

[ResetSettings]
Name=Reset settings
Name_fr=Réinitialiser la configuration
Description=Reset all the settings (Title, Email, login and password etc) to initial values.
Description_fr=Réinitialise toutes les options (titre, email, login, password, modules, etc) aux valeurs initiales.
Type=SQLFILE
file={$appinfo_path}\reset_main_options.sql
Done=Done
Done_fr=Réinitialisation terminée.

[Synchronize]
Name=Syncronize MySQL Port
Description=Update {$appShortName} config with the Open MySQL Port
Name_fr=Syncronise le port MySQL
Description_fr=Met à jour le fichier de config {$appShortName} avec le port MySQL actuellement assigné.
Type=REPLACE
File={$root_path_absolute}\App\{$ApplicationPath}\sites\default\settings.php
SearchPattern=root@localhost(:\d*)?
ReplaceValue=root@localhost:{$mysql_port}
Done=Done
Done_fr=Fait

[OpenAdmin]
Name=Open {$appShortName} admin
Description=Open {$appShortName} admin page
Name_fr=Admininstrer {$appShortName}
Description_fr=Ouvre le panneau d'administration de {$appShortName}
Type=URL
File={$ApplicationURL}/index.php?q=admin

[EditAdmin]
Name=Edit config
Description=Edit config file
Name_fr=Edition du fichier de configuration
Description_fr=Edite le fichier de configuration
Type=EDIT